import request from '@/utils/request'

export function getArticleList(data) {
  return request({
    url: '/Admin/Article/GetArticleList',
    method: 'post',
    data
  })
}

export function addArticle(data) {
  return request({
    url: '/Admin/Article/AddArticle',
    method: 'post',
    data
  })
}

export function deleteArticle(data) {
  return request({
    url: '/Admin/Article/DeleteArticle',
    method: 'post',
    data
  })
}

export function updateArticle(data) {
  return request({
    url: '/Admin/Article/UpdateArticle',
    method: 'post',
    data
  })
}
